#ifndef SQUARELOOPDRAWABLE_H
#define SQUARELOOPDRAWABLE_H

#include "./drawables/drawable.h"
#include "./selectable/selectable.h"
#include "./tagable/tagable.h"

class SquareLoopDrawable:public Drawable, public Selectable
{
private:
    QPointF _center;
    double _side;
    enum {LINE_WIDTH = 500};
public:
    SquareLoopDrawable();
    SquareLoopDrawable(QPointF center, double side);
    virtual void draw(CoodrsTransformer *coordsTransformer=0);
    QRectF getBoundingBox();
    virtual bool isSelected(QPointF selectedPoint);
};

#endif // SQUARELOOPDRAWABLE_H
